package com.dy.service;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther: dy
 * @Date: 2022/4/16 - 04 - 16 - 20:50
 * @Description: com.dy.service
 * @version: 1.0
 */
@FeignClient(name = "orderFeign",url = "127.0.0.1:8081/order")
public interface IFeignOrderService {
    @GetMapping("/updateOrderState/{orderSerial}")
    public boolean updateOrderState(@PathVariable("orderSerial") String orderSerial);
}
